package indi.gao.springAopTest;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@MapperScan(basePackages = "indi.gao.springAopTest")
@EnableAsync  // 启用异步任务
public class SpringAopTestApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringAopTestApplication.class, args);
    }

}
